interface FormItemProps {
  id: number;
  dealerId: number;
  tenantId: number;
  groupId: number;
  zoneId: number;
  name: string;
  code: string;
  type: number;
  params: string;
  comment: string;
  isOnline: boolean;
}

interface FormProps {
  formInline: FormItemProps;
  title: string; // 用于表单标题
  deviceGroupOptions?: any[]; // 添加设备分组选项属性
  originalDeviceId: number;
  tenantId: number;
}

export type { FormItemProps, FormProps };

export interface DeviceItem {
  Id: number;
  DealerID: number;
  TenantID: number;
  GroupID: number;
  ZoneID: number;
  Name: string;
  Code: string;
  Type: any;
  Params: string;
  Comment: string;
  IsOnline: boolean;
}
